<div class="tags">
	<div class="tagbox">
		{{#if $Cache.tags_detail.length}} {{#each $Cache.tags_detail}}
		<a href="#default/tags?tag_id={{_id}}" title="{{type}}">
		{{tag_name}}({{content.length}})
		</a>
		{{/each}}{{#else}}
		 <p>暂无产品分类</p>
		{{/if}}
	</div>
	<div class="main">
		<div class="title">
			<div class="tile"></div>
			{{tagTitle}}
		</div>
		{{#if $Cache.pointer_tag.detail_content.length}}
		{{#each  $Cache.pointer_tag.detail_content}}
		<goodsbox
			src="{{preview_img_url}}?imageView/1/w/300/h/300"
			href="#default/detail?id={{_id}}"
			name="{{goods_name}}"	
			price="{{price}}"
		></goodsbox>
		{{/each}}
		{{#else}}
		<div class="tagbox">
			<h3>此分类下没有商品</h3>
		</div>
		{{/if}}
	</div>
</div>
<xmp type="tag" name="goodsbox">
	<div class="goodsbox">
		<a href="${href}">
			<img bind-src="${src}" />
		</a>  
		<div class="info">
			<div class="name">
				<a href="${href}">
					${name}
				</a>
			</div>
		</div>
		<div class="price">
			￥<span>${price}</span>
		</div>
		<button event-click="{{'$Top.$Event.goods_list.add_to_cart'}}">
			加入购物车
		</button>
	</div>
</xmp>
<link rel="stylesheet" type="text/css" href="/css/catering/mobile_tags.css" />